home *** CD-ROM | disk | FTP | other *** search
- Path: gryphon.phoenix.net!usenet
- From: brucew@phoenix.net (Bruce Wedding)
- Newsgroups: comp.lang.c
- Subject: Re: A problem with fprintf
- Date: Tue, 09 Jan 1996 05:24:52 GMT
- Organization: BranPaul Systems
- Message-ID: <4csrrr$f06@gryphon.phoenix.net>
- References: <4cs8ie$5ru@no-names.nerdc.ufl.edu>
- NNTP-Posting-Host: dial102.phoenix.net
- X-Newsreader: Moe's Newsreader
-
- vtigadi@cis.ufl.edu (Vishwajit Tigadi) wrote:
-
- >I have a piece of code where the following statement fits in:
- >
- >fprintf(fp, "%s\n", src);
-
- >signal SEGV (segmentation violation) in malloc at 0xef778634
- >malloc+0x150: st %o0, [%l5]
-
- Are you checking the return value of malloc()? Show us the code with
- the malloc in it.
-
- Bruce D. Wedding Have Compiler, Will Travel!
- Perspicacious Programming Performed Promptly
- Katy, Texas, USA, Planet Earth, Milkyway Galaxy, Known Universe
-
-